package winOrDie.graphicsInterface.GameRoom;

import java.util.EventObject;

/**
 * This class is the {@link EventObject} that {@link Composite_Options} object throws
 *
 */
public class Composite_Options_Event extends EventObject {

	public static class Event_Types {
		public static final int READY_TO_PLAY = 0;
		public static final int TEAM_CAPTAIN = 1;
		public static final int TEAM_PIRATES = 2;
		public static final int FORCE_START = 8;
		public static final int EXIT = 9;
		public static final int TEAM_CAPTAIN_OK = 10;
		public static final int TEAM_PIRATES_OK = 11;
		public static final int READY_TO_PLAY_OK = 12;
		public static final int TEAM_CAPTAIN_FREE = 13;
		public static final int TEAM_CAPTAIN_FULL = 14;
		public static final int USER_CAN_FORCE_START = 15;
		public static final int USER_CANT_FORCE_START = 16;
		public static final int USER_CAN_SELECT_CAPTAIN = 17;
		public static final int USER_CAN_SELECT_BOTH = 18;
		public static final int VOICE = 19;
		public static final int GAME_RT_START = 50;
		
		
	}

	

	private int eventType = -1;

	private Object data = null;
	
	public int getEventType() {
		return eventType;
	}

	public void setEventType(int eventType) {
		this.eventType = eventType;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public Composite_Options_Event(Object source) {
		super(source);
	}

}
